package cn.cnf.mapper;

import cn.cnf.entity.MoneyRecord;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.sun.xml.internal.ws.policy.privateutil.PolicyUtils;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.security.core.parameters.P;

/**
 * (money_record)数据Mapper
 *
 * @author ZhuMeiYi
 * @since 2021-01-10 23:11:44
 * @description 
*/
@Mapper
public interface MoneyRecordMapper extends BaseMapper<MoneyRecord> {
    IPage<MoneyRecord> getRecord(Page<MoneyRecord> page, @Param("time")String time,@Param("fromName") String fromName,@Param("toName") String toName,@Param("type") Integer type);
//    IPage<MoneyRecord> getRecord(Page<MoneyRecord> page,@Param("time") String time);

}
